{% extends "default/base.html" %} {% load static %}


{% block content %}
    默认主页

    {% if customer_list.has_previous %}
        <a href="?page={{ customer_list.previous_page_number }}">上一页</a>
    {% endif %}

    {% for cus in customer_list %}
        {% if customer_list.number == cus %}
            <li class="active"><a href="?page={{ cus }}">cus</a></li>
        {% else %}
            <li><a href="?page={{ cus }}">cus</a></li>
        {% endif %}

    {% endfor %}

    {% if customer_list.has_next %}
        <a href="?page={{ customer_list.next_page_number }}">下一页</a>
    {% endif %}

{% endblock %}
